//
//  PacketAlertView.h
//  PlayCatchGame
//
//  Created by 流言 on 2018/1/27.
//  Copyright © 2018年 清正. All rights reserved.
//

#import "BaseView.h"
#import "AppHeader.h"

@interface PacketAlertView : BaseView

/// 视图类型 
@property (assign, nonatomic) NSInteger packetType;
/// 标题 (请先设置视图类型)
@property (copy, nonatomic) NSString *titleString;

/// 关闭按钮
@property (weak, nonatomic) IBOutlet UIButton *closeButton;
/// 背景图片
@property (weak, nonatomic) IBOutlet UIImageView *bgImageView;
/// 背景图片距左边间距
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgImage_leftSpace;
/// 说明按钮
@property (weak, nonatomic) IBOutlet UIButton *button;
/// 说明按钮距背景image左边距离
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *button_bgImage_leftSpace;
/// 标题距背景图片中间偏移值
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *title_bgImage_centerY;
/// 标题距背景图片左边距离
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *title_bgImage_leftSpace;
/// 底部单独按钮
@property (weak, nonatomic) IBOutlet UIButton *bottomBtn;

- (void)viewButtonClickBlock:(ButtonBlock)newBlock;


@end
